﻿namespace _22record学习;

class Program
{
    static void Main(string[] args)
    {
        Person p1 = new Person("aaa", "bbb");
        Person p2 = p1 with { };
        Console.WriteLine(p1==p2);
        Console.WriteLine(ReferenceEquals(p1,p2));
    }
}